// *** LICENSE HEADER ***
// Filename: ./buttonids.h
// This file is part of Nodewarz 0.1
// Nodewarz is a 3d OpenGL strategy game
// Copyright (C) 2007 CZestmyr
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License along
// with this program; if not, write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
// *** END LICENSE HEADER ***
#ifndef NODEWARS_BUTTON_IDS_H
#define NODEWARS_BUTTON_IDS_H

//This file contains definitions for various button IDs

#define _BUTTON_STARTGAME 2
#define _BUTTON_BACKTOMENU 3
#define _BUTTON_SERVERCLIENT 4
#define _BUTTON_IP1 5
#define _BUTTON_IP2 6
#define _BUTTON_IP3 7
#define _BUTTON_IP4 8
#define _BUTTON_IPPORT 9
#define _BUTTON_IPDOT 10
#define _BUTTON_CONNECT 11
#define _BUTTON_CREATE 12
#define _BUTTON_MSGBAR 13
#define _BUTTON_CLIENTLIST 14
#define _BUTTON_JOINED_LABELS 15
#define _BUTTON_NAMELIST 16
#define _BUTTON_NAME 17
#define _BUTTON_SENDNAME 18
#define _BUTTON_CREATED_LABELS 19
#define _BUTTON_ADD_PLAYER 20
#define _BUTTON_DELETE_PLAYER 21
#define _BUTTON_MESSAGE_LINE 22
//#define _BUTTON_SEND_MESSAGE 23 old
#define _BUTTON_LABELS 24
#define _BUTTON_NICKLABEL 25
#define _BUTTON_FPSLABEL 26

#define _BUTTON_ENDGAME 26
#define _BUTTON_ENDTURN 27
#define _BUTTON_MODESELECT 28
#define _BUTTON_MODEADD 29
#define _BUTTON_MODEATTACK 30
#define _BUTTON_MODENORMAL 31
#define _BUTTON_GAMELABEL1 32
#define _BUTTON_GAMELABEL2 33
#define _BUTTON_GAMELABEL3 34
#define _BUTTON_GAMELABEL4 35
#define _BUTTON_GAMELABEL 36
#define _BUTTON_GAMENODECOLOR 37
#define _BUTTON_GAMECONNECT 38
#define _BUTTON_MODEDEFEND 39
#define _BUTTON_MODETAKEOVER 40
#define _BUTTON_AREATOGGLE 41
#define _BUTTON_MODEDISSINTEGRATE 42
#define _BUTTON_ENERGYTOGGLE 43
#define _BUTTON_AMMOUNTTOGGLE 44
#define _BUTTON_RESETCAMERA 45
#define _BUTTON_GRIDTOGGLE 46

#define _BUTTON_CLIENT_OFFSET 5000

#define _BUTTON_PLAYER_OFFSET 10000
#define _BUTTON_PLAYER_LENGTH 100

#define _BUTTON_PLAYER_INGAMENAME 1
#define _BUTTON_PLAYER_COLOR_SELECTOR 2
#define _BUTTON_PLAYER_CHANGE 3
#define _BUTTON_PLAYER_COLOR_VIEWER 4
#define _BUTTON_PLAYER_IP 5

#endif
